package org.bunny.vehicle.repository;

import org.bunny.vehicle.entity.User;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

/**
 * 用户仓库
 * 
 * @author Bunny
 * @version 2013-5-16 下午5:17:05
 * 
 */
public interface UserRepository extends BaseRepository<User> {

	public User findByNumber(String number);

	public Page<User> findByClassification(byte classification, Pageable pageable);
}
